package com.ljb.bugly_demo;

import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Toast;

public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
    }

    public void comeout(View view) {
//        Toast.makeText(this, "我是一个bug", Toast.LENGTH_SHORT).show();
//        String str = null;
//        int length = str.length();
        Toast.makeText(this,"bug已被修复",Toast.LENGTH_SHORT).show();
    }
}
